﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020001A5 RID: 421
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CGMDBEIHMPK : IMessage<CGMDBEIHMPK>, IMessage, IEquatable<CGMDBEIHMPK>, IDeepCloneable<CGMDBEIHMPK>, IBufferMessage
	{
		// Token: 0x17000582 RID: 1410
		// (get) Token: 0x060012EA RID: 4842 RVA: 0x0003601C File Offset: 0x0003421C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CGMDBEIHMPK> Parser
		{
			get
			{
				return CGMDBEIHMPK._parser;
			}
		}

		// Token: 0x17000583 RID: 1411
		// (get) Token: 0x060012EB RID: 4843 RVA: 0x00036023 File Offset: 0x00034223
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CGMDBEIHMPKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000584 RID: 1412
		// (get) Token: 0x060012EC RID: 4844 RVA: 0x00036035 File Offset: 0x00034235
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CGMDBEIHMPK.Descriptor;
			}
		}

		// Token: 0x060012ED RID: 4845 RVA: 0x0003603C File Offset: 0x0003423C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CGMDBEIHMPK()
		{
		}

		// Token: 0x060012EE RID: 4846 RVA: 0x0003604F File Offset: 0x0003424F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CGMDBEIHMPK(CGMDBEIHMPK other) : this()
		{
			this.mOOPLKALBMN_ = other.mOOPLKALBMN_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060012EF RID: 4847 RVA: 0x00036079 File Offset: 0x00034279
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CGMDBEIHMPK Clone()
		{
			return new CGMDBEIHMPK(this);
		}

		// Token: 0x17000585 RID: 1413
		// (get) Token: 0x060012F0 RID: 4848 RVA: 0x00036081 File Offset: 0x00034281
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ELEMDJILILM> MOOPLKALBMN
		{
			get
			{
				return this.mOOPLKALBMN_;
			}
		}

		// Token: 0x060012F1 RID: 4849 RVA: 0x00036089 File Offset: 0x00034289
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CGMDBEIHMPK);
		}

		// Token: 0x060012F2 RID: 4850 RVA: 0x00036097 File Offset: 0x00034297
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CGMDBEIHMPK other)
		{
			return other != null && (other == this || (this.mOOPLKALBMN_.Equals(other.mOOPLKALBMN_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060012F3 RID: 4851 RVA: 0x000360CC File Offset: 0x000342CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.mOOPLKALBMN_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060012F4 RID: 4852 RVA: 0x00036100 File Offset: 0x00034300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060012F5 RID: 4853 RVA: 0x00036108 File Offset: 0x00034308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060012F6 RID: 4854 RVA: 0x00036111 File Offset: 0x00034311
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.mOOPLKALBMN_.WriteTo(ref output, CGMDBEIHMPK._repeated_mOOPLKALBMN_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060012F7 RID: 4855 RVA: 0x00036138 File Offset: 0x00034338
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.mOOPLKALBMN_.CalculateSize(CGMDBEIHMPK._repeated_mOOPLKALBMN_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060012F8 RID: 4856 RVA: 0x00036171 File Offset: 0x00034371
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CGMDBEIHMPK other)
		{
			if (other == null)
			{
				return;
			}
			this.mOOPLKALBMN_.Add(other.mOOPLKALBMN_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060012F9 RID: 4857 RVA: 0x0003619F File Offset: 0x0003439F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060012FA RID: 4858 RVA: 0x000361A8 File Offset: 0x000343A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.mOOPLKALBMN_.AddEntriesFrom(ref input, CGMDBEIHMPK._repeated_mOOPLKALBMN_codec);
				}
			}
		}

		// Token: 0x040007C9 RID: 1993
		private static readonly MessageParser<CGMDBEIHMPK> _parser = new MessageParser<CGMDBEIHMPK>(() => new CGMDBEIHMPK());

		// Token: 0x040007CA RID: 1994
		private UnknownFieldSet _unknownFields;

		// Token: 0x040007CB RID: 1995
		public const int MOOPLKALBMNFieldNumber = 7;

		// Token: 0x040007CC RID: 1996
		private static readonly FieldCodec<ELEMDJILILM> _repeated_mOOPLKALBMN_codec = FieldCodec.ForMessage<ELEMDJILILM>(58U, ELEMDJILILM.Parser);

		// Token: 0x040007CD RID: 1997
		private readonly RepeatedField<ELEMDJILILM> mOOPLKALBMN_ = new RepeatedField<ELEMDJILILM>();
	}
}
